\section{fsm\+\_\+change.\+h File Reference}
\label{fsm__change_8h}\index{fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}}


Ether\+C\+AT state change F\+SM.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ ec\+\_\+fsm\+\_\+change}
\begin{DoxyCompactList}\small\item\em Ether\+C\+AT state change F\+SM. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \textbf{ ec\+\_\+fsm\+\_\+change} \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+mode\+\_\+t} \{ \textbf{ E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+F\+U\+LL}, 
\textbf{ E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+A\+C\+K\+\_\+\+O\+N\+LY}
 \}\begin{DoxyCompactList}\small\item\em Mode of the change state machine. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{fsm__change_8h_a9b93c6163e34fd65a4fe44ab28bf5df3}} 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+init} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\label{fsm__change_8h_ae14cce5cbfe182e8b7f3b334bcf43abf}} 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+clear} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\label{fsm__change_8h_a05075c9695464e542905a634ceb071bd}} 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+start} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$, \textbf{ ec\+\_\+slave\+\_\+state\+\_\+t})
\begin{DoxyCompactList}\small\item\em Starts the change state machine. \end{DoxyCompactList}\item 
\mbox{\label{fsm__change_8h_a2c30215c50becd54d3ac1d1ee2b0a96a}} 
void \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+ack} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$, \textbf{ ec\+\_\+slave\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Starts the change state machine to only acknowlegde a slave\textquotesingle{}s state. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+exec} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Executes the current state of the state machine. \end{DoxyCompactList}\item 
int \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+success} (\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em Returns, if the state machine terminated with success. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ether\+C\+AT state change F\+SM. 



\subsection{Typedef Documentation}
\mbox{\label{fsm__change_8h_a15cddef62f7f6fa51e07fa06242b7659}} 
\index{fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}!ec\+\_\+fsm\+\_\+change\+\_\+t@{ec\+\_\+fsm\+\_\+change\+\_\+t}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+t@{ec\+\_\+fsm\+\_\+change\+\_\+t}!fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+t}
{\footnotesize\ttfamily typedef struct \textbf{ ec\+\_\+fsm\+\_\+change} \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t}}

\begin{DoxySeeAlso}{See also}
\doxyref{ec\+\_\+fsm\+\_\+change}{p.}{structec__fsm__change} 
\end{DoxySeeAlso}


Definition at line 58 of file fsm\+\_\+change.\+h.



\subsection{Enumeration Type Documentation}
\mbox{\label{fsm__change_8h_afca7005acad1cbd2221d92dfbf4a608b}} 
\index{fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}!ec\+\_\+fsm\+\_\+change\+\_\+mode\+\_\+t@{ec\+\_\+fsm\+\_\+change\+\_\+mode\+\_\+t}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+mode\+\_\+t@{ec\+\_\+fsm\+\_\+change\+\_\+mode\+\_\+t}!fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+mode\+\_\+t}
{\footnotesize\ttfamily enum \textbf{ ec\+\_\+fsm\+\_\+change\+\_\+mode\+\_\+t}}



Mode of the change state machine. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+F\+U\+LL@{E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+F\+U\+LL}!fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}}\index{fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}!E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+F\+U\+LL@{E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+F\+U\+LL}}}\mbox{\label{fsm__change_8h_afca7005acad1cbd2221d92dfbf4a608baab98fc747b7ddcbd70755c03bf31122e}} 
E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+F\+U\+LL&full state change \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+A\+C\+K\+\_\+\+O\+N\+LY@{E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+A\+C\+K\+\_\+\+O\+N\+LY}!fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}}\index{fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}!E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+A\+C\+K\+\_\+\+O\+N\+LY@{E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+A\+C\+K\+\_\+\+O\+N\+LY}}}\mbox{\label{fsm__change_8h_afca7005acad1cbd2221d92dfbf4a608bace4d82f3fb6f59f56e3d4f60a77bb78d}} 
E\+C\+\_\+\+F\+S\+M\+\_\+\+C\+H\+A\+N\+G\+E\+\_\+\+M\+O\+D\+E\+\_\+\+A\+C\+K\+\_\+\+O\+N\+LY&only state acknowledgement \\
\hline

\end{DoxyEnumFields}


Definition at line 50 of file fsm\+\_\+change.\+h.



\subsection{Function Documentation}
\mbox{\label{fsm__change_8h_a0dc0b7823d8a0440797fb93fda8a5b86}} 
\index{fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}!ec\+\_\+fsm\+\_\+change\+\_\+exec@{ec\+\_\+fsm\+\_\+change\+\_\+exec}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+exec@{ec\+\_\+fsm\+\_\+change\+\_\+exec}!fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+exec()}
{\footnotesize\ttfamily int ec\+\_\+fsm\+\_\+change\+\_\+exec (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Executes the current state of the state machine. 

\begin{DoxyReturn}{Returns}
false, if the state machine has terminated 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & finite state machine \\
\hline
\end{DoxyParams}


Definition at line 124 of file fsm\+\_\+change.\+c.

\mbox{\label{fsm__change_8h_a00d02215e861290d5fd7da1d0bc0d64b}} 
\index{fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}!ec\+\_\+fsm\+\_\+change\+\_\+success@{ec\+\_\+fsm\+\_\+change\+\_\+success}}
\index{ec\+\_\+fsm\+\_\+change\+\_\+success@{ec\+\_\+fsm\+\_\+change\+\_\+success}!fsm\+\_\+change.\+h@{fsm\+\_\+change.\+h}}
\subsubsection{ec\+\_\+fsm\+\_\+change\+\_\+success()}
{\footnotesize\ttfamily int ec\+\_\+fsm\+\_\+change\+\_\+success (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+fsm\+\_\+change\+\_\+t} $\ast$}]{fsm }\end{DoxyParamCaption})}



Returns, if the state machine terminated with success. 

\begin{DoxyReturn}{Returns}
non-\/zero if successful. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em fsm} & Finite state machine \\
\hline
\end{DoxyParams}


Definition at line 139 of file fsm\+\_\+change.\+c.

